package lab02.test14;

public class Circle extends Shape{

private double r;
public Circle( double radius){

    this.r = radius;

}
    @Override
    public double getArea() {
        System.out.println("圆的面积：");

        return 3.14 * r * r;
    }
}
